//
//  CustomPickerView.h
//  mUBB
//
//  Created by Cosmin Stirbu on 3/8/13.
//  Copyright (c) 2013 Cosmin Stirbu. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol CustomPickerViewProtocol <NSObject>

- (void)didDismissPickerView;

@end

@interface CustomPickerView : UIView<UIPopoverControllerDelegate> {
    // Presenting View
     UIView __unsafe_unretained *_presentingView;
    
    // Popover Controller
    UIPopoverController *popOverController;
}


// ToolBar
@property (unsafe_unretained, nonatomic) IBOutlet UIToolbar *toolBar;

// Picker View
@property (unsafe_unretained, nonatomic) IBOutlet UIDatePicker *timePickerView;

@property (unsafe_unretained, nonatomic) id<CustomPickerViewProtocol> delegate;

// Present Picker View
- (void)presentPickerViewFromView:(UIView *)view;

// Dismiss Picker View
- (void)dismissPickerView;

@end
